<?php declare(strict_types=1);
/**
 * @author      xianganyall <xianganyall@gmail.com>
 * @copyright   2023-2025 owner
 **/

namespace Srv\Apps\Apis\Common\DefCtl;

final class DefSmsCategoryCtl extends DefAbstract
{
    private const TABLE_NAME                = 'def_sms_category';
    private const FIELD_ID                  = 'dsmc_id';
    private const FIELD_KEY                 = 'dsmc_key';
    public const KEY_SMS_BIND_MOBILE        = 'sms_bind_mobile';        // 绑定手机号
    public const KEY_SMS_RESET_PASSWORD     = 'sms_reset_password';     // 重置密码
    public const KEY_SMS_FORGET_PASSWORD    = 'sms_forget_password';    // 忘记密码
    public const KEY_SMS_REG_MOBILE         = 'sms_reg_mobile';         // 注册登入验证码

    /**
     * @return static
     * tag
     */
    public static function tag():self
    {
        return parent::tag()->config(self::TABLE_NAME, self::FIELD_ID, self::FIELD_KEY);
    }
}